﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="CaseCallBack.aspx.cs" Inherits="FantastPlatform.Community.UI.Message.CaseCallBack" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <script type="text/javascript">
        var ccc = new FantastPlatform.UI.CaseCallBack({
            renderTo: 'ccc_div',
            photosInfoId: '<%=GetId() %>',
            ParentG: '<%=GetPG() %>',
            url: '../Service/CaseCallBackService.aspx?Action=Add',
            tbar: [{
                text: '保存',
                iconCls: 'save',
                handler: function () {                    
                    if (ccc.ParentG == 'ccg') {
                        submitFormJson(ccc, ccg, currtWind);
                    }
                    else if (ccc.ParentG == 'cg') {
                        submitFormJson(ccc, cg, currtWind);
                    }
                    else {
                        submitFormJson(ccc, null, currtWind);
                    }
                }
            }, '-', {
                text: '重置',
                iconCls: 'cancel',
                handler: function () { ccc.form.reset(); }
            }]
        });
    </script>
</head>
<body>
    <div id="ccc_div">
    </div>
</body>
</html>
